{% extends "base.html" %}

{% block title %}页面未找到 - 学生管理系统{% endblock %}

{% block content %}
<div class="text-center py-5">
    <div class="mb-4">
        <i class="fas fa-exclamation-triangle fa-5x text-warning"></i>
    </div>
    <h1 class="display-4 fw-bold text-muted">404</h1>
    <h2 class="mb-4">页面未找到</h2>
    <p class="lead text-muted mb-4">抱歉，您访问的页面不存在或已被移除。</p>
    <div class="d-grid gap-2 d-md-flex justify-content-md-center">
        <a href="{{ url_for('index') }}" class="btn btn-primary me-md-2">
            <i class="fas fa-home me-1"></i>返回首页
        </a>
        <a href="{{ url_for('add_student') }}" class="btn btn-outline-primary">
            <i class="fas fa-plus me-1"></i>添加学生
        </a>
    </div>
</div>
{% endblock %}
